<template>
  <section class="left"></section>
  <section class="right">
    <section class="top-bar">
      <n-icon size="40" color="#18a058" class="logo">
        <StoreMallDirectoryTwotone />
      </n-icon>
      <section class="mall-name">Cloud米米</section>
      <section class="mall-sub-title">登录账号</section>
    </section>
    <section class="content">
      <login-form></login-form>
    </section>
  </section>
</template>

<script setup lang="ts">
import { StoreMallDirectoryTwotone } from '@vicons/material';
import loginForm from '../components/login/login-form.vue';

</script>

<style scoped>
.left {
  float: left;
  background-image: url(https://cdn.web-global.fds.api.mi-img.com/mcfe--mi-account/static/static/media/banner.4994397e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 375px;
  height: 100%;
}
.right {
  height: 100%;
  box-sizing: border-box;
  margin-left: 375px;
  padding: 15px 0 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-bar {
  font-size: 27px;
  color: #333333;
  display: flex;
  align-items: center;
  height: 40px;
}

.logo {
  margin-right: 2px;
}

.mall-name {
  letter-spacing: 0.03em;
  height: 40px;
}

.mall-sub-title {
  font-size: 18px;
  margin-left: 6px;
  display: flex;
  margin-top: 10px;
  color: gray;
}

.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>